﻿# encoding:utf-8
import traceback

def printException():
    print(e)
    traceback.print_exc()

def fun1():
    try:  
        a=1/0
    except Exception as e:  
        printException()
        
        
        
fun1()